package com.dwxt.community.aiequipment.sellmachine.entity;

import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.annotation.JsonInclude.*;

import java.util.*;

@JsonInclude(Include.NON_NULL)
public class SellMachineGoodsBuyRecord {

    private String recordId;

    private String deviceId;

    private Float goodsPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recordCreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recordUpdateTime;

    private String goodsId;

    private Integer aisleNo;

    private String buyerId;

    private String orderId;

    private String payTypeName;

    public String getPayTypeName() {
        return payTypeName;
    }

    public void setPayTypeName(String payTypeName) {
        this.payTypeName = payTypeName;
    }

    private SellMachineGoods sellMachineGoods;

    private SellMachine sellMachine;

    private SellMachineOrder sellMachineOrder;

    public SellMachineGoods getSellMachineGoods() {
        return sellMachineGoods;
    }

    public void setSellMachineGoods(SellMachineGoods sellMachineGoods) {
        this.sellMachineGoods = sellMachineGoods;
    }

    public SellMachine getSellMachine() {
        return sellMachine;
    }

    public void setSellMachine(SellMachine sellMachine) {
        this.sellMachine = sellMachine;
    }

    public SellMachineOrder getSellMachineOrder() {
        return sellMachineOrder;
    }

    public void setSellMachineOrder(SellMachineOrder sellMachineOrder) {
        this.sellMachineOrder = sellMachineOrder;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public Float getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Float goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Date getRecordCreateTime() {
        return recordCreateTime;
    }

    public void setRecordCreateTime(Date recordCreateTime) {
        this.recordCreateTime = recordCreateTime;
    }

    public Date getRecordUpdateTime() {
        return recordUpdateTime;
    }

    public void setRecordUpdateTime(Date recordUpdateTime) {
        this.recordUpdateTime = recordUpdateTime;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    public Integer getAisleNo() {
        return aisleNo;
    }

    public void setAisleNo(Integer aisleNo) {
        this.aisleNo = aisleNo;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId == null ? null : buyerId.trim();
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }
}